const {APP_PORT} = require('./config/config.default')
//koa框架的代码单独封装，方便日后变更
const app = require('./app')


//开启监听
app.listen(APP_PORT, ()=>{
    console.log(`server is run on http://localhost:${APP_PORT}`);
})